package com.easy.bean;

import java.util.Date;

public class User {
	private int u_id;
	private String username;
	private String password;
	private String name;
	private String id_number;
	private String sex;
	private Date birth;
	private String u_state;
	private String email;
	private String phone;
	private String role;
	private Date regtime;
	private int u_integral;

	
	public int getU_id() {
		return u_id;
	}
	public void setU_id(int u_id) {
		this.u_id = u_id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId_number() {
		return id_number;
	}
	public void setId_number(String id_number) {
		this.id_number = id_number;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	
	public String getU_state() {
		return u_state;
	}
	public void setU_state(String u_state) {
		this.u_state = u_state;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public Date getRegtime() {
		return regtime;
	}
	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}
	public int getU_integral() {
		return u_integral;
	}
	public void setU_integral(int u_integral) {
		this.u_integral = u_integral;
	}
	@Override
	public String toString() {
		return "User [u_id=" + u_id + ", username=" + username + ", password=" + password + ", name=" + name
				+ ", id_number=" + id_number + ", sex=" + sex + ", birth=" + birth + ", u_state=" + u_state + ", email="
				+ email + ", phone=" + phone + ", role=" + role + ", regtime=" + regtime + ", u_integral=" + u_integral
				+ "]";
	}
	
	
}
